import request from '@/utils/request'

export function listPark2(query) {
  return request({
    url: '/park2/park2/list',
    method: 'get',
    params: query
  })
}
export function getid(id) {
  return request({
    url: '/park2/park2/' + id,
    method: 'get'
  })
}
export function insertpark2(data){
  return request({
    url:'/park2/park2',
    method:'post',
    data: data
  })
}
export function updatepark2(data){
  return request({
    url:'/park2/park2',
    method:'put',
    data: data
  })
}
export function deletepark2(id){
  return request({
    url:'/park2/park2/' + id,
    method:'delete',
  })
}
